package com.wn.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Card {
    private Integer id;

    private Integer cardNumber;

    private Integer patientId;
    private String patientName;

    @NotNull(message = "金额不能为空")
    private BigDecimal balance;

    private Integer status;

    private Integer createUserId;
    private String createName;

    private Date createTime;

}